{extend name="$adminPage"}

{block name="content"}
<table type="yunj" id="demo"></table>
{/block}

{block name="script"}
<script type="application/javascript">
    layui.use(['jquery','yunj'],function () {
        let win = window;
        let doc = document;
        let $ = layui.jquery;

        $(doc).bind('yunj_table_demo_custom',function (e,args) {
            yunj.msg('自定义前端事件触发');
            console.log('yunj_table_demo_custom',e,args);
        });
    });
</script>
{/block}